<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
echo"
<script type=\"text/javascript\">

function showMain(str)
window.alert(\"IN REQUEST\");

{
if (str==\"\")
  {
  document.getElementById(\"txtHint\").innerHTML=\"\";
  return;
  }
if (window.XMLHttpRequest)
  {
  xmlhttp=new XMLHttpRequest();
  }
else
  {
  xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById(\"txtHint\").innerHTML=xmlhttp.responseText;
    }
  }

xmlhttp.open(\"GET\", \"plugin/extravaganza/cms/getevent.php?q=\"+str,true);
xmlhttp.send();
}

function showSubBox(str)
{
if (str==\"\")
  {
  document.getElementById(\"txtHint2\").innerHTML=\"\";
  return;
  }
if (window.XMLHttpRequest)
  {
  xmlhttp=new XMLHttpRequest();
  }
else
  {
  xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById(\"txtHint2\").innerHTML=xmlhttp.responseText;
    }
  }

xmlhttp.open(\"GET\", \"plugin/extravaganza/cms/getsubeventbox.php?q=\"+str,true);
xmlhttp.send();
}

function showSub(str)
{
if (str==\"\")
  {
  document.getElementById(\"txtHint3\").innerHTML=\"\";
  return;
  }
if (window.XMLHttpRequest)
  {
  xmlhttp=new XMLHttpRequest();
  }
else
  {
  xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById(\"txtHint3\").innerHTML=xmlhttp.responseText;
    }
  }

xmlhttp.open(\"GET\", \"plugin/extravaganza/cms/getsubevent.php?q=\"+str,true);
xmlhttp.send();
}

</script>

";
?>
